package com.nickthorneltd.anchoralarm;

import java.io.IOException;
import java.util.List;

import android.app.Service;
import android.content.Intent;
import android.location.Location;
import android.location.LocationManager;
import android.os.IBinder;
import android.util.Log;
import android.widget.Toast;

public class AAGpsService extends Service {
	
    private int anchorlat;
    private int anchorlng;
    private int maxdrift;
	
    @Override
	public void onCreate()
	{
		super.onCreate();
		//maxdrift = getIntent().getStringExtra("maxdrift");
		
        Toast.makeText(this,"Service created ..."+maxdrift+":"+anchorlat+":"+anchorlng, Toast.LENGTH_LONG).show();
	}
	
	@Override
    public void onDestroy() {
          super.onDestroy();
          Toast.makeText(this, "Service destroyed ...", Toast.LENGTH_LONG).show();
    }

	@Override
	public IBinder onBind(Intent intent) {
		// TODO Auto-generated method stub
		return null;
	}

   
}